#-------------------------------------------------
#
# Project created by QtCreator 2010-09-16T00:55:27
#
#-------------------------------------------------

QT       += gui core network sql

TARGET = server

TEMPLATE = app

CONFIG += thread

SOURCES += main.cpp \
    app/systemtray.cpp \
    app/xmlparser.cpp \
	app/connector.cpp \
	database_plugins/idatabase.cpp \
    app/myapp.cpp \
	app/sslserver.cpp \
    ui/configdialog.cpp \
    ui/openlineedit.cpp \
	core/core.cpp \
	core/settingssql.cpp \
    settings/networksd.cpp \
    settings/pluginssd.cpp \
    ui/keypressfilter.cpp \
    core/pluginsmanager.cpp \
    settings/pluginstabledelegate.cpp \
    app/clientthread.cpp \
    app/clientsocket.cpp \
    app/commandparser.cpp

HEADERS += \
    app/systemtray.h \
    app/xmlparser.h \
	app/connector.h \
	database_plugins/idatabase.h \
    definitions.h \
    version.h \
    app/myapp.h \
	app/sslserver.h \
    ui/configdialog.h \
    ui/openlineedit.h \
	core/core.h \
	core/settingssql.h \
    settings/networksd.h \
	settings/isettings.h \
    settings/pluginssd.h \
    ui/keypressfilter.h \
    core/pluginsmanager.h \
    settings/pluginstabledelegate.h \
    app/clientthread.h \
    app/clientsocket.h \
    app/commandparser.h

RESOURCES += \
    resource.qrc

OTHER_FILES += \
    docs/README_ICON.txt \
    docs/ku_pamięci.txt

FORMS += \
    ui/configdialog.ui

CONFIG(debug, debug|release) {
	CONFIG += console
	DEFINES += __DEBUG__ \
		__debug__ \
		DEBUG \
		_DEBUG
}


#icons and version info (only on windows)
win32{
	RC_FILE = server.rc
}
macx{
	ICON = res/beaver.icns
}

CODECFORTR = UTF-8
CODECFORSRC = UTF-8
